package com.mzy.basics.serializable;

import java.io.Serializable;

/**
 * @author Ives
 * * @date 2022/2/16
 */
public class Student implements Serializable {

  /**
   * 用户名
   */
  private String name;

  /**
   * 年龄
   */
  private Integer age;

  public Student(String name, Integer age) {
    this.name = name;
    this.age = age;
  }

  @Override
  public String toString() {
    return "Student1{" +
            "name='" + name + '\'' +
            ", age=" + age +
            '}';
  }
}